<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>splitText</title>
</head>
<body>
	<p>Hey Yo!</p>

	<script>
		console.log(document.querySelector('p').firstChild.splitText(4))

		console.log(document.querySelector('p').firstChild.textContext)

		console.log(document.querySelector('p').childNodes.length)
	</script>
</body>
</html>